
	datas=[{
		data1:{
			gaodu:2,
			zairen:0,
			frontendDoor:'关闭',
			backendDoor:'关闭',
			havent:80,
			height:80,
			speed:80,
			qingjiao:80,
			height1:30,
			height2:60
		},
		data2:{
			datax:['1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16'],
			smooth:true,
			symbol: 'none',
			datas:[
				{
					item:[0.2, 0.4, 0.6,0.3, 0.2, 0.3,0.6,0.1,0.3,0.8,0.5,0.2,0.4,0.6,0.2,0.1],
					color: '#48F0C6',
					acolor:new echarts.graphic.LinearGradient(
						0, 0, 0, 1,
						[{
								offset: 0,
								color: 'rgba(72, 240, 198, 0.4)'
							},
							{
								offset: 1,
								color: 'rgba(72, 240, 198, 0)'
							},
						]
					)
				},
			],
		},
		data3:{
			avatar:'img/page2/tx.jpg',
			name:'王德伟',
			sex:'男',
			age:36,
			tel:'13423546421',
			idCard:'24546745374356346',
			workTime:0,
			zaizhong:0,
			yunzhuan:0,
			baojing:0,
			gonglv:0
		},
		data4:{
			name:'3#升降机',
			num:'3#升降机',
			havent:'3#升降机',
			gaodu:'3#升降机',
			sudu:'3#升降机',
			renshu:'3#升降机',
			size:'3#升降机',
			qsgaodu:'3#升降机',
		},		
	},{
		data1:{
			gaodu:3,
			zairen:1,
			frontedDoor:'关闭',
			backendDoor:'关闭',
			havent:70,
			height:60,
			speed:70,
			qingjiao:60,
			height1:50,
			height2:40
		},
		data2:{
			datax:['1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16'],
			smooth:true,
			symbol: 'none',
			datas:[
				{
					item:[0.5, 0.3, 0.7,0.5, 0.4, 0.1,0.3,0.5,0.8,0.6,0.3,0.1,0.5,0.2,0.4,0.6],
					color: '#48F0C6',
					acolor:new echarts.graphic.LinearGradient(
						0, 0, 0, 1,
						[{
								offset: 0,
								color: 'rgba(72, 240, 198, 0.4)'
							},
							{
								offset: 1,
								color: 'rgba(72, 240, 198, 0)'
							},
						]
					)
				},
			],
		},
		data3:{
			avatar:'img/page2/tx.jpg',
			name:'张三',
			sex:'女',
			age:36,
			tel:'13623546421',
			idCard:'24546745374356356',
			workTime:1,
			zaizhong:2,
			yunzhuan:2,
			baojing:1,
			gonglv:2
		},
		data4:{
			name:'3#升降机',
			num:'3#升降机',
			havent:'3#升降机',
			gaodu:'3#升降机',
			sudu:'3#升降机',
			renshu:'3#升降机',
			size:'3#升降机',
			qsgaodu:'3#升降机',
		},		
	}]
var tanData=[[
	{id:1,avatar:'img/page2/tx.jpg',name:'陈尤其',sex:'男',age:39,job:'普工',team:'安徽河达',date:'2023-11-29 13:58:09',days:2},
	{id:2,avatar:'img/page2/tx.jpg',name:'陈尤其',sex:'男',age:39,job:'普工',team:'安徽河达',date:'2023-11-29 13:58:09',days:2},
	{id:3,avatar:'img/page2/tx.jpg',name:'陈尤其',sex:'男',age:39,job:'普工',team:'安徽河达',date:'2023-11-29 13:58:09',days:2},
	{id:4,avatar:'img/page2/tx.jpg',name:'陈尤其',sex:'男',age:39,job:'普工',team:'安徽河达',date:'2023-11-29 13:58:09',days:2},
	{id:5,avatar:'img/page2/tx.jpg',name:'陈尤其',sex:'男',age:39,job:'普工',team:'安徽河达',date:'2023-11-29 13:58:09',days:2},
	{id:6,avatar:'img/page2/tx.jpg',name:'陈尤其',sex:'男',age:39,job:'普工',team:'安徽河达',date:'2023-11-29 13:58:09',days:2},
	{id:7,avatar:'img/page2/tx.jpg',name:'陈尤其',sex:'男',age:39,job:'普工',team:'安徽河达',date:'2023-11-29 13:58:09',days:2},
	{id:8,avatar:'img/page2/tx.jpg',name:'陈尤其',sex:'男',age:39,job:'普工',team:'安徽河达',date:'2023-11-29 13:58:09',days:2}
],
[
	{id:1,avatar:'img/page2/tx.jpg',name:'陈尤其1',sex:'男',age:39,job:'普工',team:'安徽河达',date:'2023-11-29 13:58:09',days:2},
	{id:2,avatar:'img/page2/tx.jpg',name:'陈尤其1',sex:'男',age:39,job:'普工',team:'安徽河达',date:'2023-11-29 13:58:09',days:2},
	{id:3,avatar:'img/page2/tx.jpg',name:'陈尤其1',sex:'男',age:39,job:'普工',team:'安徽河达',date:'2023-11-29 13:58:09',days:2},
	{id:4,avatar:'img/page2/tx.jpg',name:'陈尤其1',sex:'男',age:39,job:'普工',team:'安徽河达',date:'2023-11-29 13:58:09',days:2},
	{id:5,avatar:'img/page2/tx.jpg',name:'陈尤其1',sex:'男',age:39,job:'普工',team:'安徽河达',date:'2023-11-29 13:58:09',days:2},
	{id:6,avatar:'img/page2/tx.jpg',name:'陈尤其1',sex:'男',age:39,job:'普工',team:'安徽河达',date:'2023-11-29 13:58:09',days:2},
	{id:7,avatar:'img/page2/tx.jpg',name:'陈尤其1',sex:'男',age:39,job:'普工',team:'安徽河达',date:'2023-11-29 13:58:09',days:2},
	{id:8,avatar:'img/page2/tx.jpg',name:'陈尤其1',sex:'男',age:39,job:'普工',team:'安徽河达',date:'2023-11-29 13:58:09',days:2}
],
[
	{id:1,avatar:'img/page2/tx.jpg',name:'陈尤其2',sex:'男',age:39,job:'普工',team:'安徽河达',date:'2023-11-29 13:58:09',days:2},
	{id:2,avatar:'img/page2/tx.jpg',name:'陈尤其2',sex:'男',age:39,job:'普工',team:'安徽河达',date:'2023-11-29 13:58:09',days:2},
	{id:3,avatar:'img/page2/tx.jpg',name:'陈尤其2',sex:'男',age:39,job:'普工',team:'安徽河达',date:'2023-11-29 13:58:09',days:2},
	{id:4,avatar:'img/page2/tx.jpg',name:'陈尤其2',sex:'男',age:39,job:'普工',team:'安徽河达',date:'2023-11-29 13:58:09',days:2},
	{id:5,avatar:'img/page2/tx.jpg',name:'陈尤其2',sex:'男',age:39,job:'普工',team:'安徽河达',date:'2023-11-29 13:58:09',days:2},
	{id:6,avatar:'img/page2/tx.jpg',name:'陈尤其2',sex:'男',age:39,job:'普工',team:'安徽河达',date:'2023-11-29 13:58:09',days:2},
	{id:7,avatar:'img/page2/tx.jpg',name:'陈尤其2',sex:'男',age:39,job:'普工',team:'安徽河达',date:'2023-11-29 13:58:09',days:2},
	{id:8,avatar:'img/page2/tx.jpg',name:'陈尤其2',sex:'男',age:39,job:'普工',team:'安徽河达',date:'2023-11-29 13:58:09',days:2}
]
]
function init(data){
	randerBox1(data['data1'])
	line(data.data2, 'line')
	randerBox2(data['data3'])
	randerBox3(data['data4'])
}

function randerBox1(data){
	$('#gaodu').text(data['gaodu'])
	$('#num').text(data['zairen'])
	$('#frontend').text(data['frontendDoor'])
	$('#backend').text(data['backendDoor'])
	$('#havent').text(data['havent'])
	$('#height').text(data['height'])
	$('#speed').text(data['speed'])
	$('#qingjiao').text(data['qingjiao'])
	$("#ta1").animate({
		bottom:data.height1+'%',
	},'slow');
	$("#ta2").animate({
		bottom:data.height2+'%',
	},'slow');
}
function randerBox2(data){
	$('#name').text(data['name'])
	$('#sex').text(data['sex'])
	$('#age').text(data['age'])
	$('#tel').text(data['tel'])
	$('#idCard').text(data['idCard'])
	$('#workTime').text(data['workTime'])
	$('#zaizhong').text(data['zaizhong'])
	$('#yunzhuan').text(data['yunzhuan'])
	$('#baojing').text(data['baojing'])
	$('#gonglv').text(data['gonglv'])
}
function randerBox3(data){
	$('#eqNmae').text(data['name'])
	$('#eqNum').text(data['num'])
	$('#edHavent').text(data['havent'])
	$('#eqGaodu').text(data['gaodu'])
	$('#renshu').text(data['renshu'])
	$('#eqSpeed').text(data['sudu'])
	$('#size').text(data['size'])
	$('#maxHeight').text(data['qsgaodu'])
}
